package cn.edu.scau.nursingcenter.entiry;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * 	客户信息实体类Customer
 * @author feng
 *
 */
@Entity(name = "customer_information")
@Data
@Table(name = "customer_information")
@Builder
@AllArgsConstructor
@ApiModel(value = "客户信息实体类")
public class Customer implements Serializable{

	/**
	 * 客户编号 主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@ApiModelProperty(value = "客户编号")
	private Integer c_id;
	/**
	 * 客户名称
	 */
	@ApiModelProperty(value = "客户名称")
	private String c_name;
	/**
	 * 身份证号码
	 */
	@ApiModelProperty(value = "身份证号码")
	private String p_id;
	/**
	 * 客户性别
	 */
	@ApiModelProperty(value = "客户性别")
	private String c_gender;
	/**
	 * 客户年龄
	 */
	@ApiModelProperty(value = "客户年龄")
	private Integer c_age;
	/**
	 * 联系人电话
	 */
	@ApiModelProperty(value = "联系人电话")
	private String c_telephone;
	/**
	 * 联系人
	 */
	@ApiModelProperty(value = "联系人")
	private String contacts;
	/**
	 * 无参构造方法
	 */
	public Customer() {}
	private static final long serialVersionUID = -7278178829395844322L;
}
